import {Http} from '@/utils/http.js';

class Captcha {
	static async getCaptcha(){
		return await Http.request({
			url:'captcha/getCaptcha'
		})
	}
	
	static async refreshCaptcha(captchaKey){
		return await Http.request({
			url:'captcha/refreshCaptcha',
			data: {captchaKey}
		})
	}

	
}

export {
	Captcha
}